﻿using Acme.ConcreteMixDesign.Players;
using Acme.ConcreteMixDesign.Topics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace Acme.ConcreteMixDesign.JobRecords
{
    public class JobRecord : AuditedAggregateRoot<Guid>
    {

        /// <summary>
        /// 完成人
        /// </summary>
        public Guid PlayerId { get; set; }
        /// <summary>
        /// 完成的作业
        /// </summary>
        public Guid TopicId {  get; set; }
        /// <summary>
        /// 完成内容
        /// </summary>
        public string JobContent { get; set; }

        protected JobRecord() { }

        public JobRecord( Guid playerId,  Guid topicId, string jobContent)
        {
            //Player = player;
            PlayerId = playerId;
            //Topic = topic;
            TopicId = topicId;
            JobContent = jobContent;
        }
    }
}
